package com.jsh.erp.api;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

import java.math.BigDecimal;

@FeignClient(name = "jsh-system", path = "/jshERP-boot/api", contextId = "SupplierRemoteClient")
public interface SupplierRemoteClient {
    @GetMapping("/supplier/updateAdvanceIn")
    public int updateAdvanceIn(@RequestParam("supplierId") Long supplierId,
                               @RequestParam("advanceIn") BigDecimal advanceIn) throws Exception;
}
